package com.qiaofang.collectmanage.service.common.bean;

import java.util.Map;

/**
 * Created with IDEA
 *
 * @author:ZJ.J
 * @Date:2018/6/14
 * @Time:15:39
 */
public class MetricInfo {
    /**指标*/
    private String metric;
    private long timestamp;
    /** 值*/
    private Number value;
    Map<String, String> tags;

    public String getMetric() {
        return metric;
    }

    public void setMetric(String metric) {
        this.metric = metric;
    }

    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }

    public Number getValue() {
        return value;
    }

    public void setValue(Number value) {
        this.value = value;
    }

    public Map<String, String> getTags() {
        return tags;
    }

    public void setTags(Map<String, String> tags) {
        this.tags = tags;
    }

    @Override
    public String toString() {
        return "MetricInfo{" +
                "metric='" + metric + '\'' +
                ", timestamp=" + timestamp +
                ", value=" + value +
                ", tags=" + tags +
                '}';
    }
}
